package com.avantis.admin.service;

import com.avantis.common.entity.Supplier;
import com.avantis.common.entity.query.SupplierQuery;
import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation.Transactional;

/**
* @Description:    java类作用描述
* @Author:         kirago
* @CreateDate:     2019/2/13 10:18 AM
* @UpdateRemark:   修改内容
* @Version:        1.0
*/
public interface SupplierService {

    void saveSupplier(Supplier supplier);

    Page<Supplier> findSupplierCriteria(SupplierQuery supplierQuery);

    void modifySupplier(Supplier supplier);

    @Transactional
    void deleteSupplier(String supplierId);

    Supplier findOne(String supplieriD);

}
